New linux version will check the return code of parser on subpartitions.
The only valid case for skipping a parser with an error is -ENOENT.
Change the relevant entry to -ENOENT.
Signed-off-by: Christian Marangi <[email protected]>
u64 id;
if (!seil_bootdev_is_active(np))
- return -ENODEV;
+ return -ENOENT;
ret = of_property_read_u64(np, "iij,seil-id", &id);
if (ret) {
if (be64_to_cpu(header.id) != id ||
be32_to_cpu(header.vfmt) != SEIL_VFMT) {
pr_debug("no valid seil image found in \"%s\"\n", master->name);
- ret = -ENODEV;
+ ret = -ENOENT;
goto err_free_parts;
}
if (ret || (master->size - rootfs_offset) == 0) {
pr_debug("no rootfs after seil image in \"%s\"\n",
master->name);
- ret = -ENODEV;
+ ret = -ENOENT;
goto err_free_parts;
}